package com.schoolai.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author bobby
 * @since 2025-10-30
 */
@Data
@TableName("tbl_school_set_news")
@Schema(name = "TblSchoolSetNews", description = "")
public class SchoolSetNews implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @Schema(description = "主键")
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 标题
     */
    @Schema(description = "标题")
    private String title;

    /**
     * 作者
     */
    @Schema(description = "作者")
    private String author;

    private String content;

    /**
     * 审核人
     */
    @Schema(description = "审核人")
    private String checker;

    /**
     * 发布状态（1：发布，0：未发表、2：驳回、3：下架）
     */
    @Schema(description = "发布状态（1：发布，0：未发表、2：驳回、3：下架）")
    private String status;

    /**
     * CURRENT_TIMESTAMP
     */
    @Schema(description = "CURRENT_TIMESTAMP")
    private Date createdTime;

    private Date updatedTime;

    private Date deletedTime;
}
